package com.wfh.bean;

import android.os.Parcel;
import android.os.Parcelable;

//":[{"banner_id":"1","shop_id":"1","img":".\/Public\/uploadfile\/banner\/1367741919.png","url":"www","bak":"d","position":"1","review":"1","status":"0"}]}

public class ProductBean implements Parcelable{
	private String product_id;
	private String shop_id;
	private String product_name;
	private String product_desc;
	private String product_img;
	private String product_price;
	private String product_price_oem;
	private String position;
	private String is_week;
	private String is_hot;
	private String is_best;
	private String is_promotion;
	private String promotion_end_time;
	private String number;

	public String getProduct_id() {
		return product_id;
	}
	public void setProduct_id(String product_id) {
		this.product_id = product_id;
	}
	public String getShop_id() {
		return shop_id;
	}
	public void setShop_id(String shop_id) {
		this.shop_id = shop_id;
	}
	public String getProduct_name() {
		return product_name;
	}
	public void setProduct_name(String product_name) {
		this.product_name = product_name;
	}
	public String getProduct_desc() {
		return product_desc;
	}
	public void setProduct_desc(String product_desc) {
		this.product_desc = product_desc;
	}
	public String getProduct_img() {
		return product_img;
	}
	public void setProduct_img(String product_img) {
		this.product_img = product_img;
	}
	public String getProduct_price() {
		return product_price;
	}
	public void setProduct_price(String product_price) {
		this.product_price = product_price;
	}
	public String getProduct_price_oem() {
		return product_price_oem;
	}
	public void setProduct_price_oem(String product_price_oem) {
		this.product_price_oem = product_price_oem;
	}
	public String getPosition() {
		return position;
	}
	public void setPosition(String position) {
		this.position = position;
	}
	public String getIs_week() {
		return is_week;
	}
	public void setIs_week(String is_week) {
		this.is_week = is_week;
	}
	public String getIs_hot() {
		return is_hot;
	}
	public void setIs_hot(String is_hot) {
		this.is_hot = is_hot;
	}
	public String getIs_best() {
		return is_best;
	}
	public void setIs_best(String is_best) {
		this.is_best = is_best;
	}
	public String getIs_promotion() {
		return is_promotion;
	}
	public void setIs_promotion(String is_promotion) {
		this.is_promotion = is_promotion;
	}
	public String getPromotion_end_time() {
		return promotion_end_time;
	}
	public void setPromotion_end_time(String promotion_end_time) {
		this.promotion_end_time = promotion_end_time;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	@Override
	public int describeContents() {
		// TODO Auto-generated method stub
		return 0;
	}
	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(product_id);
		dest.writeString(shop_id);
		dest.writeString(product_name);
		dest.writeString(product_desc);
		dest.writeString(product_img);
		dest.writeString(product_price);
		dest.writeString(product_price_oem);
		dest.writeString(is_week);
		dest.writeString(is_hot);
		dest.writeString(is_best);
		dest.writeString(is_promotion);
		dest.writeString(promotion_end_time);
		dest.writeString(number);
		
	}
	public static final Parcelable.Creator<ProductBean> CREATOR = new Creator<ProductBean>() {

		@Override
		public ProductBean createFromParcel(Parcel source) {
			// TODO Auto-generated method stub
			ProductBean bean = new ProductBean();
			bean.product_id = source.readString();
			bean.shop_id = source.readString();
			bean.product_name = source.readString();
			bean.product_desc = source.readString();
			bean.product_img = source.readString();
			bean.product_price = source.readString();
			bean.product_price_oem = source.readString();
			bean.is_week = source.readString();
			bean.is_hot = source.readString();
			bean.is_best = source.readString();
			bean.is_promotion = source.readString();
			bean.promotion_end_time = source.readString();
			bean.number = source.readString();
			return bean;
		}

		@Override
		public ProductBean[] newArray(int size) {
			// TODO Auto-generated method stub
			return new ProductBean[size];
		}

	};
}
